package com.dongdongshop.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.dongdongshop.mapper.TbProvincesMapper;
import com.dongdongshop.pojo.TbProvinces;
import com.dongdongshop.service.ProvincesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @Description
 * @ClassName ProvincesServiceImpl
 * @Author RC
 * @date 2020.12.22 20:33
 */
@Component
@Service
public class ProvincesServiceImpl implements ProvincesService {
    @Autowired
    private TbProvincesMapper tbProvincesMapper;

    @Override
    public List<TbProvinces> getInfoAll() {
        return tbProvincesMapper.selectByExample(null);
    }
}
